Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid making call to flare #381

Merged
merged 5 commits into from
Apr 29, 2021
Merged

Avoid making call to flare #381

merged 5 commits into from
Apr 29, 2021

Conversation

freekmurze
Copy link
Collaborator

When using the Flare driver, without an API key a http request to Flare is made.
We should not do that.

Fixes facade/flare-client-php#22

Copy link
Contributor

@AlexVanderbist AlexVanderbist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Copy link
Contributor

@AlexVanderbist AlexVanderbist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can move the check for having an API key to this method? https://github.com/facade/ignition/blob/master/src/Logger/FlareHandler.php#L71

Seems more appropriate but up to you :)

@tpetry
Copy link

tpetry commented Apr 29, 2021

Maybe we can move the check for having an API key to this method? https://github.com/facade/ignition/blob/master/src/Logger/FlareHandler.php#L71

Seems more appropriate but up to you :)

When debugging the issue i had the same idea 😅

@freekmurze
Copy link
Collaborator Author

@AlexVanderbist that's better, I'll do it that way, thanks!

@freekmurze freekmurze merged commit db16d0d into master Apr 29, 2021
@freekmurze freekmurze deleted the avoid-making-call-to-flare branch April 29, 2021 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Empty flare key still transmits errors
3 participants